package jp.tkym.labs.trac.entity;

import jp.tkym.labs.store.annotation.Entity;
import jp.tkym.labs.store.annotation.Id;

/**
 * 
 * sqlite> select * from sqlite_master where type = 'table' and name = 'ticket';
 * 	table|ticket|ticket|32|CREATE TABLE ticket (
 * 	    id integer PRIMARY KEY,
 * 	    type text,
 * 	    time integer,
 * 	    changetime integer,
 * 	    component text,
 * 	    severity text,
 * 	    priority text,
 * 	    owner text,
 * 	    reporter text,
 * 	    cc text,
 * 	    version text,
 * 	    milestone text,
 * 	    status text,
 * 	    resolution text,
 * 	    summary text,
 * 	    description text,
 * 	    keywords text
 * 	)
 * sqlite>
 * @author takayama
 *
 */
@Entity
public class Ticket {
	private int id;
	private String type;
	private int time;
	private int changetime;
	private String component;
	private String severity;
	private String priority;
	private String owner;
	private String reporter;
	private String cc;
	private String version;
	private String milestone;
	private String status;
	private String resolution;
	private String summary;
	private String description;
	private String keywords;
	@Id(0)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getTime() {
		return time;
	}
	public void setTime(int time) {
		this.time = time;
	}
	public int getChangetime() {
		return changetime;
	}
	public void setChangetime(int changetime) {
		this.changetime = changetime;
	}
	public String getComponent() {
		return component;
	}
	public void setComponent(String component) {
		this.component = component;
	}
	public String getSeverity() {
		return severity;
	}
	public void setSeverity(String severity) {
		this.severity = severity;
	}
	public String getPriority() {
		return priority;
	}
	public void setPriority(String priority) {
		this.priority = priority;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public String getReporter() {
		return reporter;
	}
	public void setReporter(String reporter) {
		this.reporter = reporter;
	}
	public String getCc() {
		return cc;
	}
	public void setCc(String cc) {
		this.cc = cc;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getMilestone() {
		return milestone;
	}
	public void setMilestone(String milestone) {
		this.milestone = milestone;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getResolution() {
		return resolution;
	}
	public void setResolution(String resolution) {
		this.resolution = resolution;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
}